var path = require('path');

console.log(path.join(__dirname, '/build'))


/***
 *  npm i css-loader --save
 * */

module.exports = {
    mode: 'development',
    entry: './src/main.1.node',
    output: {
        "path": path.join(__dirname, '/build'),
        "filename": "build.1.node"
    }, module: {
        rules: [
            {
                test: /\.css$/,
                use: [{
                    loader: 'style-loader'
                },
                    {
                        loader: "css-loader"
                    }
                ]
            }
        ]
    }
}